package cn.kgc.springcloud.entity;

/**
 * @author: mosin
 * @version: v1.0  2022/6/10
 */
public class Product {

    private String productName;
    private Integer id;

    public Product(String productName, Integer id) {
        this.productName = productName;
        this.id = id;
    }

    public Product() {

    }


    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "Product{" +
                "productName='" + productName + '\'' +
                ", id=" + id +
                '}';
    }
}
